package com.wpw.java7demo.objects;

import java.util.Objects;

import org.junit.Test;

public class ObjectsTest {

	@Test
	public void test1() {
		boolean equals = Objects.equals(null, null);
		System.out.println(equals);
	}
	
	@Test
	public void test2() {
		String string = Objects.toString(null, "null object");
		System.out.println(string);
		
		String valueOf = String.valueOf(null);
		System.out.println(valueOf);
	}
}
